Putting in origin for any files being loaded - for now this is just being picked up from the window location when first instantiated - this might need to be more clever, but is good enough for now