Updated Tests, added listFile function.