We usually talk about calling "functions" rather than "files." If you're coming
from a Matlab background, one thing to note about julia is that you can put
multiple functions in one file:
square_and_mult_by_c(x, c) = c*x*x
smc(X::AbstractVector, c) = [square_and_mult_by_c(x, c) for x in X]
Note the second function calls the first, but you can put both of these in the
same disk file. Once loaded, you can also call either of these functions from
the command line.
Functions can have more than one argument, so you can pass both `x` and `c`
from one function to another. You might also be interested in the manual
sections on default and keyword arguments.
Best,
--Tim