Use FILE_OPEN_IF not FILE_OVERWRITE_IF, fool.