Removed name as variable in FileNode

Name is just the filename so we can make a properties and get the name
from the path object.
A consequence of this change is the JSON output is smaller because we
don't need to send the name.
More precise debug output