file: make status codes in line with new guide

also remove errant 'p' debugs from file.sh