directory and fileinfo to precontext