Remove convertLocalFile method