Fixed file size bug