filter file (only jpg,jpeg and png found)