/**
* Create file
*
* @param string $name
* @return void
* @throws InvalidArgumentException
*/
public function createFile($name)
{
try {
$this->storage->createFile($name);
} catch (\InvalidArgumentException $e) {
throw new \InvalidArgumentException(sprintf('A file or folder having the name %s already exists', $name), $e->getCode(), $e);
}
}