Add bower_components to the default excludes.
Move the logic of merging file data from the post object to the file object.