Renamed getLine to getFileLine to differentiate from prompt functions