One last thing: need to implement the path verification method and write file functionality