upload file chooser now gets the absolute directory path