Combined dir.h/.c and file.h/.c into filesystem.h/.c.