added a method for getting the bytes used and the sectors used

The bytes used function also increments the number of files