Fix a return missing bug
Change default output method
Make the main conversion as a function
Batch convert all files in current directory.