Fixed the read-file-name call (typed active buffer instead of selected file)