adding files and directories works