Add call to get url when click on files
set server url value as app module constant