find the relative path rather than the file name only