added more file extension parse to API