Remove outdated screenshot and clean the directory