$filename and $IGNORES should be wrapped with ", who knows how many spaces will be there ;)