Removed restriction for fileby field to be an enum