Filter out files which are no need to be commit.