file handling tests fixed
regression tests fixed
file tests fixed