Remove reference to a file that doesnt exist