added support for file type conversion, also upgraded to scala 2.9.3