added a simple method for linking files