filter filesystem using regular expressions