Remove obsolete statements from script
Obtain file from FTP if it is not available locally