Turn inFileStream into better getInFile API