Make SimpleFileNode inherit from FileNode.

This removes a lot of duplicated code.