Change back file mode of misc.cpp