Perl implementation of an application to synchronization files between two folders