Complete the implement of FileInfo and DirectoryInfo (both inherited from FileSystemInfo) and add some test cases for them.