Added file and directory information functions.