Preprocessor reads input and gives it a proper format