introducing setter for file regex