updates
Added tests in misc.py on file existence with opening files.