Try to pass file properties directly