File has to be named with a .txt extension