add function: getFileSize