Removed the passing of nFiles variable.