Fix the arduino bug for localfile