fixing the file delete method

without the load, the file_project and file_real_name are zero length
strings so this always evaluated to true :(