Removed setting of sizes in fileObject