file setup, database create