Dao model sql queries to files