Add regex for file