Change in regular expression

Though not allowed having a colon in a file name is leagal.
Checking for starting forward-slash instead.