Change it so that we can pass in extensions for files we want to check as argument, fix bug where we were not properly splitting lines.