Expand path to visited file