check files existence on window focus