support passing both pathOnly and file to serveFlavor
Merge pull request #1980 from kaltura/Jupiter-10.0.0-serveFlavor-file-param-with-pathonly

support passing both pathOnly and file to serveFlavor