remove unwanted files from resources