Build correct path for sending file