Set _total first, prevent NULL when file is not exist
v0.5.1