Actually being able to open the files

Moved everything around until it worked