Fix building removeFiles