register static dir for files