Port fix for file sec endpoint from develop
Merge pull request #40 from xschildw/release-1.5

Port fix for file sec endpoint from develop