Also manage the directory and file