Added function for getting filesize