cleaned up a bit. added "parent" to file model