Added file reader directive, updated endpoints