Fixed missing func default in resolve
Moved resolved-related methods to file
Improved status/status_all
Switched everything to use file.status instead of the previous methods