complete rmdir and add file operations