Removed unused dependency from composer. Cleaned up usage of PostFile class in SwordService.