use php file functions  + sqlite3