add file operate with regex