refactoring: moved all code (one long string) for setting file field to a variable
refactoring: moved all code (one long string) for setting file field to a variable

Signed-off-by: Željko Filipin <8c01b4570ffa5400d662598ac60e74d31e9f482e@gmail.com>

jarib/watir,watir/watir-classic,watir/watir-classic,watir/watir-classic,watir/watir-classic,jarib/watir,jarib/watir