Facility for the immediately preceding fiscal quarter. Interest under the FILO Credit Facility accrues, at the election of the Company, at a LIBOR or alternate base rate, plus, in each case, an applicable interest rate margin, which is also determined by reference to the level of excess availability under the Revolving Credit Facility. Loans under the FILO Credit Facility bear interest at 1.000% per annum more than loans under the Revolving Credit Facility.
The Credit Agreement contains customary negative covenants, which limit the Company’s ability to incur additional indebtedness, create liens, make investments, make restricted payments or specified payments and merge or acquire assets, among other things. In addition, if excess availability under the Credit Facility were to fall below certain specified levels, certain additional covenants (including fixed charge coverage ratio requirements) would be triggered, and the lenders would assume dominion and control over the Loan Parties’ cash.
The Credit Agreement contains customary events of default, including payment defaults, material breaches of representations and warranties, covenant defaults, default on other material indebtedness, customary ERISA events of default, bankruptcy and insolvency, material judgments, invalidity of liens on collateral, change of control or cessation of business. The Credit Agreement also contains customary affirmative covenants and representations and warranties.
The Company wrote off $0.5 million of deferred financing fees related to the prior credit facility during the second quarter of fiscal 2016 and the remaining unamortized deferred financing fees of $3.5 million were deferred and are being amortized over the five-year term of the Credit Facility. The Company also incurred $5.7 million of fees to secure the Credit Facility, which are being amortized over the five-year term accordingly. During the second quarter of fiscal 2017, the Company incurred $0.5 million of fees to secure the FILO Credit Facility, which are being amortized over the same term as the Credit Facility.
The Company had $59.8 million and $18.2 million of outstanding debt under the Credit Facility as of January 27, 2018 and January 28, 2017, respectively. The Company had $35.2 million and $38.9 million of outstanding letters of credit under the Credit Facility as of January 27, 2018 and January 28, 2017, respectively.
Cash Flows
The Company’s cash and cash equivalents were $11.5 million as of January 27, 2018, compared with $11.6 million as of January 28, 2017. The decrease in cash and cash equivalents of $0.1 million versus the prior year period was due to changes in working capital and cash flows as outlined below.
Net cash flows provided by operating activities were $108.1 million for the 39 weeks ended January 27, 2018 as compared to $158.5 million for the 39 weeks ended January 28, 2017. The unfavorable year-over-year comparison was primarily attributable to changes in working capital and the sales decline.
Net cash flows used in investing activities were $70.0 million for the 39 weeks ended January 27, 2018 as compared to $73.7 million for the 39 weeks ended January 28, 2017. The Company’s investing activities primarily consisted of capital expenditures for the maintenance of existing stores, merchandising initiatives, new store construction and enhancements to systems and the website.
Net cash flows used in financing activities were $38.7 million for the 39 weeks ended January 27, 2018 as compared to $87.1 million for the 39 weeks ended January 28, 2017. The Company’s financing activities during the 39 weeks ended January 27, 2018 consisted primarily of common dividends and net payments on the Credit Facility. Financing activities during the 39 weeks ended January 28, 2017 consisted primarily of common dividends, net payments on the Credit Facility and share repurchases.
Over the past 12 months, the Company has returned $43.6 million in cash to its shareholders through dividends.
24