Finish preformatting and formatting files