Set authentication in different file formats