Added open file plugin and fixed some bugs and continued working further.