Fixes missing return statement in getFileContaining.