Thread manager to return file path.