Currently, there is a comparison of files extensions in the worker. But for comparing files formats it is needed to compare the detected formats identifiers instead of files extensions, because a file could have wrong extension (or could not have it at all).