code cleanup
firstime file selection implemented
made code cleanup
code cleanup