Setting up directories and files.