new file entity and Sqlite DAO