Added condition if file is one line long