Fixing another bug with _file_max method