Added front-end interface for changing file formats with the '-f' option