Removed doubled calculation of file size