added method to check if file exists in ftp folder or not