Add mapped access mode to receiving file function.