use instance variable for the filename regexs