File setup and configuration