added remote file editing support