wrarpped filesystem functions.