Adding expire param for optionally setting the file cache expire value.