Move general verification to a separate function
Use verification function
Add XFS space estimation function