fixes error when removing old file
Merge pull request #1 from Jkhwan/remove-old-file

fixes error when removing old file