A federal judge has blocked a website from distributing files that could be used to create guns with a 3-D printer.

U.S. District Judge Robert Lasnik of the Western District of Washington granted a temporary restraining order to nine state attorneys general who sought in a lawsuit on Monday to permanently stop those files from being shared nationwide.