Setting up file infrastructure