Path is now skipped in function GetTimestamp

Code changed to reduce complexity