Added GetFileSize() and utilized it