file mode corrected