added a function for referencing a file.. adding to the list