- Teach file_remove() to recognize file type, act on it accordingly
- Track removed directories, ignore files they contain when removing
- Fix remove_empty_dirs() main loop