Changed "delete" to "remove" when removing files from list