Fixed broken filesize

Noticed that the filesize was incorrect for files.