Wait 500 ms after file change event happens, to make sure the file is done being written to.