file setup and configuration