Fixed NFileManager bug when adding a file

Expected NFile to return