add function to retrieve file from ftp server
add listener trigger file move
minor format changes