fixed filename bug and removed unused files model