linking files model to user model