Fixing bug on _file_max internal method