use <Spring Resource> instead of <File>