Insert password in different file formats