Re-format files