changing to look for specific extension instead of just any extension