DS:Updated to run on fileName given