added headlines and test input file type