changed create directory to work with file path