Made extension and directory optional params.

Now they default to 'txt' and '/', respectively.
Delete previous entries of same key in StorageFile class.
Addded clear(key) method to Storage classes.