initialise skipfile variable correctly
remove unnecessary comments