added .all method to file model