fixed file name in remote file reading code