fixed a bug in a housekeeping file removal
intial commit