Removing unnecessary image file