Added new methods: get free space and get used space