Added final touches for files

Stuff like listing file format, tmp1 format, etc
Changed tmp1 to listing file