change input-file format