Distrobuilder Failed to get definition

Hello, so I am having an issue with distrobuilder. Maybe a very basic problem but I can’t seem to figure it out.

This is what I have done:
mkdir -p $HOME/ContainerImages/debian/
cd $HOME/ContainerImages/debian/
wget https://github.com/lxc/lxc-ci/raw/master/images/debian.yaml
nano debian.yaml (made a few edits to debian.yaml to add installing a few packages)
sudo /snap/bin/distrobuilder build-lxd ~/ContainerImages/debian/debian.yml
above gives:
Error: Failed to get definition: open /home/josh/ContainerImages/debian/debian.yml: no such file or directory
above gives :

So I know the files exists why does distrobuilder think it does not?

Thanks in advance!