Creates all necessary files.