test for open file
test for file.gets
test for regex and file.gets