Can now detect folders