As a reply to my previews comment, i changed the kile.desktop file in /usr/share/applications/kde4 by replacing the line:
Exec=kile %U with the line Exec=kile %f
This fixed my problem and now i can open files
As a reply to my previews comment, i changed the kile.desktop file in /usr/share/ applications/ kde4
by replacing the line:
Exec=kile %U with the line
Exec=kile %f
This fixed my problem and now i can open files