ISPN-5029 Make FileLookup backwards compatible with 6.x

https://issues.jboss.org/browse/ISPN-5029