Split file completion
Add some tests to the file operations