[NewFeature] finish textfile input functions