I guess it should be "delete res.file;". Am I right ?