Add read/write file functions
Working through early check...