Isn't your \ the wrong way? I'm going to guess that your localhost is Windows?
Jelastic is Linux based, so filesystem paths contain /
not \
. Maybe try
File(absoluteFilesystemPath+"/img/"+fileName);
Edit: according to File.separator vs Slash in Paths you might want to use File.separator
instead for proper platform independence.