support file and directory mount