Skelleton of fileio progressing
removed all the old stuff, starting again