added torch command
made a file list return method for fileManager