save file name into database instead of full path name.