Fixed filesystem pointer so it shows when you reach the end of the file.
More tests to make sure file pointer is working correctly.