Creating and hooking up the files