Add patterns for file path.