Update Editor.cs

add coarse code file adding function