directory support. page and single files