chech a file exists in data directory of a user

Can some one please help me to code which is to check a file exists in data directory of a user?