Clean io test
Add a new test for file functions