Fixed bug concerning file size