Made sure that non existing folder in the path are created when creating an empty file
Added tests for the storagefilehandler