now models based on files