added regex file practices