added a FileReader class, but stupid images still won't save