Fixed the file transfer string generator method.