add a check for new lines which add trailing whitespace
move paths