Edit password in different file formats