Revise to do password capture in file