split the editor into a specific file