[Improved file conversion functionality]