add models project and file function