Fix listContents method
Disable createDir method