added basic file conversion