File resources do not allow onlyif parameter