Fix bug and add transport file feature