Added file size function.