Modified directory processor so it search for multiple file types.