Started writing code for passing file to editor