Catch crash 'path not in legal form' TODO - Handle in better way.