reimplement file method as string and test.