formatting the files