Does it make sense to return just the length variable, or should we call the length function, which may refresh this variable if the file has changed?