Simplify file identification logic;
Add support for converting only one file.