removed file dependencies, added database models for files