Add file printstatus

Totally stuck in here...