Adding memory size to file.