formatting file