My programme reads information from a file and prints it out on to the html page, but when i upload it i do not know where it is looking for the file

how do i tell it to look for the file in the same place the asp has been uploaded to?