working on fixing file linking