adding file linking

support for linking between files