File virus

Definition
A file virus is a virus

"which executes when an infected file is executed (typically, a file with the extension .EXE, .COM, .BAT, or .SYS)."