Make removeFile work.