History bug

regarding bug #2073
rename to `removeFile(File file)`.