Provide function to parse files and file objects.
Parse decoder rules.