added some file pciker stuff and figured out everything with oleg and rev. th end