Adds in error catching for presence of tabs rather than spaces