ERROR Missing or invalid file open mode: overwrite, append, create - 149 149