Set up the files and directory