adding file ref parsing