Started testing the File class. Fixed some bugs. It should work well enough for now.