But you can't loop over non-existent `"$SCRIPT_DIR"/*.{iml,ipr}` files, you have to loop over the `.SAMPLE` files and derive the `.iml` file name from that.