Remove file bug fixed