Fixed a bug where a new file was null