Clean preprocess.py file

Remove unnecessary lines/comments.