When the replication factor is decreased, will it affect the existing files?

When the replication factor is decreased, will it affect the existing files?

When the replication factor of a file is reduced, the Name Node selects excess replicas that can be deleted. The next Heartbeat transfers this information to the Data Node.
The DataNode then removes the corresponding blocks and the corresponding free space appears in the cluster.
Once again, there might be a time delay between the completion of the setReplication API call and the appearance of free space in the cluster.