Did you cd to your file directory first? For example, if the file is on the desktop do "cd desktop" in the terminal first