Reformats files