added size field to file model