Accidentally made a directory rather than a file.