Correct file mode