Replaced file option with regex filter