file conversion authored by Shinchi Chen