Updated to ignore folders