return status for file read functions