handle case of relative file name