[fix] custom input file handling II.