Fixed the test cases, added an input range interface to the File class.
Small fixes here and there