Remove whitespace from index file