clear_screenshots: check file extension
clear_screenshots: only for osx