remove console.log debug for file type