fixed issue with parameter order
Merge pull request #1507 from LorenzoBoccaccia/update-file-service

fixed issue with parameter order on the serializer chain