append getFileSize method