name_matches = [f for f in os.listdir (dir) if regex.match (f)]
try:
parsed_matches = Par2Parser.get_protected_files (dir, p2file)
name_matches = [f for f in os.listdir (dir) if regex.match (f)]
try:
parsed_matches = Par2Parser.get_protected_files (dir, p2file)