Simplify InputGraph::getNextFile. No functionality change.