Wrestling with the filesystem