Changed getFileProperties to getFileSize