version 1: check whether the file that user has selected exist in the
sever.