removing image files and Base64 magic