Added getfilestatus()