bugfix; was initializing files in the wrong location