add models
implementation of AFile