Added auto-reading of existing files in editor