Added simple spec, fix crash when folder does not exist