A fix for iterating to a file in the current directory.