adding file column to image model