file reading works, colours for errors and stuff