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