Fix image dir in remove. Add filetype check and abort if no files exists