formatting the file