Adjusting size calculation to use 1024 rather than 1000 for a megabyte.
Cleaning up checkRemoteFiles to use the same method to create it's list.
Removing directory class as its no longer a requirement.
Removing commented out ftpConnection as its no longer necessary.
Removing unnecesary code from checkForDirectories
.
Modifying logic to create a queue of files for processing by another program.