formatting of file