Format file with fmt