realloc
file monitor init