tried to fix the whole file creation thing -and failed. waste of time...
just going to leave it for now